import React from 'react';
import classNames from 'classnames';
import TimeItem from './TimeItem';
import './style.less';

class TimeLine extends React.Component {
  render() {
    const {prefix, children} = this.props;
    let cls = classNames(prefix);
    return (
      <div className={cls}>
        {children}
      </div>
    )
  }
}

export default TimeLine;
TimeLine.defaultProps = {
  prefix: 'ymm-time-line'
};
export {
  TimeItem
}
